export enum InvoiceType {
    Normal = 0,  // 普通
    RedFlush = 1,  // 红冲
    Return = 2  // 退货
}

export enum CodeState {
    Void = 0,  // 已作废
    NotAudited = 1,  // 未审核
    NotExecuted = 2,  // 未执行
    Executed = 3  // 已执行
}

export interface SalesInvoice {
    id: number;
    code: string;
    codeDate: Date | string;
    invoiceType: InvoiceType;
    customerId: number | null;
    invoiceNum: string;
    codeState: number;
    originalOrderNum: string;
    amount: number;
    orderCreationTime: Date;
    orderCreator: string;
    orderDepartment: string;
    modifyTime: Date;
    modifier: string;
}
